package com.baomidou.ant.utils;

import com.baomidou.ant.vo.request.RequestQueryKingdeeVo;
import com.baomidou.ant.vo.response.ResponseKingdeeProductionVo;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class MyListUtil {
    //倒序处理erp查询出来的生产单据
    public static List<ResponseKingdeeProductionVo> sortList(List<ResponseKingdeeProductionVo> voList){
        List<ResponseKingdeeProductionVo> newList=new ArrayList<>();
        for(int i=voList.size()-1;i>=0;i--){
            newList.add(voList.get(i));
        }
        return newList;
    }
}
